package com.shiguiwu.springmybatis.netty.chat.group.handler;

import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;
import lombok.extern.slf4j.Slf4j;

/**
 * @description: 客户端handler
 * @author: stone
 * @date: Created by 2022/11/14 21:37
 * @version: 1.0.0
 * @pakeage: com.shiguiwu.springmybatis.netty.chat.group.handler
 */
@Slf4j
public class GroupChatClientHandler  extends SimpleChannelInboundHandler<String> {
    @Override
    protected void channelRead0(ChannelHandlerContext channelHandlerContext, String s) throws Exception {
        log.warn("服务器的发送数据： ==> {}",s);
    }
}
